package com.atguigu.lease.web.admin.mapper;

import com.atguigu.lease.model.entity.FacilityInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
* @author liubo
* @description 针对表【facility_info(配套信息表)】的数据库操作Mapper
* @createDate 2023-07-24 15:48:00
* @Entity com.atguigu.lease.model.FacilityInfo
*/
public interface FacilityInfoMapper extends BaseMapper<FacilityInfo> {

    /**
     * @author gengjian
     * @date 2024/12/11 13:50:23
     * 根据公寓id查询配套关系，再通过配套关系查配套信息
     */
    List<FacilityInfo> selectFacilityInfoList(Long id);

    /**
     * @author gengjian
     * @date 2024/12/12 12:43:35
     * 根据房间id查询房间配套关系，再通过配套关系查配套信息
     */
    List<FacilityInfo> selectRoomFacilityInfoList(Long id);
}




